<!DOCTYPE html>
<html lang="en">
<head>
    {% block head %}
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Food list</title>
    <link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" type="text/css">
    {% endblock %}
</head>
<body>
    {% for message in get_flashed_messages() %}
        <div class="alert">{{ message }}</div>
    {% endfor %}
    <h1>
        <img alt="Head" class="pic" src="{{ url_for('static', filename='head.webp') }}">
        Food List For Pyx
    </h1>
    <nav>
        <ul>
            <li><a href="{{ url_for('food_index') }}">Index</a></li>
            <li><a href="{{ url_for('food_choose') }}">Choose</a></li>
            <li><a href="{{ url_for('bmi_page') }}">Bmi</a></li>
            <li><a href="{{ url_for('me') }}">Me</a></li>
        </ul>
    </nav>
    {% block content %}{% endblock %}
</body>
</html>